package com.slj.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 小组表
 * </p>
 *
 * @author 礼俊
 * @since 2025-10-22 10:20
 */
@Getter
@Setter
@ToString
@TableName("squad")
@Schema(name = "Squad", description = "小组表")
public class Squad implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 小组编号
     */
    @Schema(description = "小组编号")
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    /**
     * 小组名称
     */
    @TableField("name")
    @Schema(description = "小组名称")
    private String name;

    /**
     * 成员数量
     */
    @TableField("num")
    @Schema(description = "成员数量")
    private Integer num;

    /**
     * 积分
     */
    @TableField("integral")
    @Schema(description = "积分")
    private Integer integral;

    /**
     * 口号
     */
    @TableField("slogan")
    @Schema(description = "口号")
    private String slogan;
}
